package com.fdb.basic.framework.core.exception;

public class OcmSystemException extends Exception{

	private static final long serialVersionUID = -393210267499159178L;

	public static final String MESSAGE = "网贷系统异常";

	private String errorCode;

	public OcmSystemException() {
		super(MESSAGE);
	}

	public OcmSystemException(String message) {
		super(message);
	}

	public OcmSystemException(String errorCode, String message) {
		super(message);
		this.errorCode = errorCode;
	}

	public OcmSystemException(String message, Throwable cause) {
		super(message, cause);
	}

	public OcmSystemException(String errorCode, String message, Throwable cause) {
		super(message, cause);
		this.errorCode = errorCode;
	}

	public OcmSystemException(Throwable cause) {
		super(cause);
	}

	public String getErrorCode() {
		return errorCode;
	}
	
}
